{
g_assert (current_context != NULL);
- GDK_DRAG_CONTEXT_PRIVATE (current_context)->dragging_info = sender;
+ GDK_QUARTZ_DRAG_CONTEXT (current_context)->dragging_info = sender;
current_context->suggested_action = drag_operation_to_drag_action ([sender draggingSourceOperationMask]);
current_context->actions = current_context->suggested_action;
}
if (current_context)
g_object_unref (current_context);
- current_context = gdk_drag_context_new ();
+ current_context = g_object_new (GDK_TYPE_QUARTZ_DRAG_CONTEXT, NULL);
update_context_from_dragging_info (sender);
window = [[self contentView] gdkWindow];